import java.util.Scanner;

public class print_design {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        while (in.hasNextInt()) {

            int line = in.nextInt();
            int row = line;

            for (int i = 1; i <= line; i++) {
                for (int k = 1; k <= row; k++) {
                    if (i == k || line - i + 1 == k) {
                        System.out.print("*");
                    }else {
                        System.out.print(" ");
                    }
                }
                System.out.println();
            }
        }
        in.close();

    }
}